﻿using System;
using DTO;
using DAO;
using System.Data;

namespace BUS
{
    public class BUSTraCuuHocSinh
    {
        public static DataTable LietKeKhoiLop()
        {
            try
            {
                DataTable dtb = DAOTraCuuHocSinh.LietKeLookupEditData("sp_LietKeKhoiLop");
                return dtb;
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }

        public static DataTable LietKeLop(object makhoilop)
        {
            try
            {
                return DAOTraCuuHocSinh.LietKeLop(makhoilop);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }

        public static DataTable BangDiemHocSinh(object makhoilop, object malop, string hovaten)
        {
            try
            {
                return DAOTraCuuHocSinh.BangDiemHocSinh(makhoilop, malop, hovaten);     
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }

        public static object DanhSachHocSinh(object makhoilop, object malop, string hovaten)
        {
            try
            {
                return DAOTraCuuHocSinh.DanhSachHocSinh(makhoilop, malop, hovaten);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
    }
}
